package com.jctrip.hotel.management.model.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Builder;
import lombok.Data;

import java.util.List;

@ApiModel(value = "供应酒店-返回值")
@Data
@Builder
public class GetSourceHotelsResult {
    @ApiModelProperty(value = "酒店列表")
    private List<HotelInfo> hotelInfoList;

    @ApiModel(value = "酒店对象")
    @Data
    @Builder
    public static class HotelInfo{
        @ApiModelProperty(value = "主键id")
        public Long id;

        @ApiModelProperty(value = "酒店编号")
        private String hotelId;

        @ApiModelProperty(value = "酒店名")
        private String hotelName;

        @ApiModelProperty(value = "酒店电话")
        private String hotelTel;

        @ApiModelProperty(value = "酒店地址")
        private String hotelAddress;

        @ApiModelProperty(value = "房型列表")
        private List<RoomInfo> roomInfos;
    }

    @ApiModel(value = "房型对象")
    @Data
    @Builder
    public static class RoomInfo{
        @ApiModelProperty(value = "主键id")
        public Long id;

        @ApiModelProperty(value = "房型码")
        private String roomTypeCode;

        @ApiModelProperty(value = "房型名")
        private String roomTypeName;
    }
}
